package com.changgou.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

//@FeignClient(value = "BIGDATA")
public interface fileService {

    //  @RequestMapping("/syc/getblogtp/{url}"”“)
    public byte[] readFile(String url);

//    @RequestMapping("/syc/delFile/")
    public boolean delFile(Map<String,Object> map);

    //  @RequestMapping("/syc/uploadFilerePath"”“)
    public String uploadFilerePath(MultipartFile file,Map<String, Object> map) throws IOException;
}
